<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="Stylesheet" href="css/analysis.css" />
    <script type="text/javascript">
        function init() {
            if (window.location.hash) {
                var parentDiv, nodes, i, helpInfo, helpId, helpInfoArr, helpEnvFilter, envContent, hideEnvClass, hideNodes;
                helpInfo = window.location.hash.substring(1);
                    if(helpInfo.indexOf("-")) {
                        helpInfoArr = helpInfo.split("-");
                        helpId = helpInfoArr[0];
                        helpEnvFilter = helpInfoArr[1];
                    }
                    else {
                        helpId = helpInfo;
                    }
                parentDiv = document.getElementById("topics");
                nodes = parentDiv.children;
                    hideEnvClass = (helpEnvFilter === "OnlineOnly"? "PortalOnly": "OnlineOnly");
                    if(document.getElementsByClassName) {
                        hideNodes = document.getElementsByClassName(hideEnvClass);
                    }
                    else {
                        hideNodes = document.querySelectorAll(hideEnvClass);
                    }
                for(i=0; i < nodes.length; i++) {
                    if(nodes[i].id !== helpId) {
                        nodes[i].style.display ="none";
                    }
                    }
                    for(i=0; i < hideNodes.length; i++) {
                        hideNodes[i].style.display ="none";
                    }
                }
            }
    </script>
</head>
<body onload="init()">
<div id="topics">
    <div id="toolDescription" class="smallsize">
        <h2>Copy to Data Store</h2><p/>
        <h2><img src="./images/GUID-4030C721-25E4-41C0-A240-B18E869FC434-web.png" alt="Copy to Data Store"></h2>
        <hr/>
    <p>This tool will take an input layer and copy it to a data store. You can copy results to  ArcGIS Data Store (relational or spatiotemporal big data store) and a layer will be created in your portal or you can copy results to a big data file sure. 
    </p>
    <p>For example, you could copy features that are stored in a  <code>big data file share</code> to a <code>relational data store</code> and specify that  only  features within the current map extent will be copied. This would create a hosted feature service with only those features that were within the specified map extent.
    </p>
    </div>
    <!--Parameter divs for each param-->
    <div id="inputLayer">
        <div><h2>Choose layer to copy</h2></div>
        <hr/>
        <div>
            <p>The layer or  table that will be copied. 
            </p>
            <p>In addition to choosing a layer from your map, you can choose  <b>Choose Analysis Layer</b> at the bottom of the drop-down list to browse to your contents for a big data file share dataset or feature layer. You may optionally apply a filter on your input layer or apply a selection on hosted layers added to your map. Filters and selections are only applied for analysis. 
            </p>
        </div>
    </div>
    <div id="selection">
        <div><h2>You may use all features or make a selection (optional)</h2></div>
        <hr/>
        <div>
            <p>Optionally, use the selection button to identify the locations to be copied.
            </p>
        </div>
    </div>
    <div id="outputDataStore">
        <div><h2>Choose the data store to copy to</h2></div>
        <hr/>
        <div>
            <p>The data store that the layer will be copied to. This parameter will override the selection in the  <b>Analysis Environments</b>. The options are the following:
                <ul>
                    <li> <b>ArcGIS Data Store</b> ArcGIS Data Store <ul>
                            <li> <b>Spatiotemporal</b>&mdash;This is the default.
                            </li>
                            <li> <b>Relational</b>
                            </li>
                        </ul>
                        
                    </li>
                    <li> <b>Big Data File Share Output Templates</b>
                        <ul>
                            <li>A list of available big data file share templates in the format  <b>bigDataFileShareName-templateName</b>. Big data file shares templates must be configured before running the tool.
                            </li>
                        </ul>
                        
                    </li>
                </ul>
                
            </p>
        </div>
    </div>
    <div id="outputName">
        <div><h2>Result layer name</h2></div>
        <hr/>
        <div>
            <p> The name of the layer that will be created.  If you are writing to an ArcGIS Data Store, your results will be saved in  <b>My
Content</b> and added to the map. If you are writing to a big data file share, your results will be stored in the big data file share and added to its manifest. It will not be added to the map. The default name is based on the
tool name and the input layer name. If the layer already exists, the tool will fail.
            </p>
            <p>When writing to   ArcGIS Data Store  (relational or spatiotemporal big data store) using the  <b>Save result in</b> drop-down box, you can specify
the name of a folder in <b>My Content</b> where the result will be
saved.
            </p>
        </div>
    </div>
</div>
</html>
